<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>初识Vue</title>
    <!-- 引入Vue -->
    <script type="text/javascript" src="../../vue.js"></script>
</head>
<body>
        
    <h1 class="demo">hello,{{name}}</h1>
    <script type="text/javascript">
        new Vue({
            el:'.demo',
            data:{
                name:'World'
            }
        })
    </script>
</body>
</html>